//
//  WCActionObject.m
//  WabbitCode
//
//  Created by William Towe on 1/30/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import "WCActionObject.h"


@implementation WCActionObject
@synthesize action=_action;

@dynamic tag;
- (NSInteger)tag {
	return -1;
}

+ (WCActionObject *)actionObjectWithAction:(SEL)action; {
	WCActionObject *obj = [[[[self class] alloc] init] autorelease];
	
	obj->_action = action;
	
	return obj;
}
@end
